const { photos } = require('../servers/photoSer')
const { initToClose } = require('../mongoose/database');

module.exports = (router) => {

  router.get('/photos', function (req, res, next) {
    photos(req, res)
  })

}